public class ArrayExercise01 {
	public static void main(String[] args){
		// char[] arr = new char[26];
		// for(int i = 0; i < arr.length; i++){
		// 	arr[i] = (char)('A' + i);//'A' + i char->int 需要强制转换类型
		// 	System.out.print(arr[i] + " ");
		// }
		//System.out.println(func(1,2));
		// System.out.println(max(1.2,2));
		int[] arr1 = {1,2,3,4};
		int[] arr2 = {4,5,6,7};
		sum(arr1,arr2);
	}

// 	public static double func(int a,double b){
// 	return a + b;
// }

	// public static double max(double n1,int n2){
	// 	return n1 > n2 ? n1 : n2;
	// }

	public static void sum(int[]... arr){
		for(int[] row : arr){
			for(int x : row){
				System.out.println("x = " + x);
			}
		}
	}
}